/**
* 404
*/ 
<template>
  <div class="page-404">
    <img src="../assets/image/404.png" alt="404图片">
    <h2>Sorry, page not found！</h2>
    <el-button @click="backIndex">返回首页</el-button>
  </div>
</template>

<script>
export default {
  methods: {
    backIndex() {
      this.$emit('backIndex');
    }
  }
}
</script>

<style scoped>
.page-404 {
  height: 100%;
  text-align: center;
  background: rgb(93,94,99);
  color: #fff;
}
.page-404 h1 {
  font-size: 98px;
  font-weight: 700;
  line-height: 150px;
  text-shadow: rgba(61, 61, 61, 0.3) 1px 1px, rgba(61, 61, 61, 0.2) 2px 2px,
    rgba(61, 61, 61, 0.3) 3px 3px;
}
.page-404 h2 {
  line-height: 30px;
  font-size: 30px;
  margin-bottom: 35px;
}
</style>